package com.lucy.vd.auth;

import com.lucy.starter.loader.AuthService;
import com.lucy.viewer.service.ViewerAuthService;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * @author kindear
 * 鉴权服务实现
 */
@Slf4j
@Service
@AllArgsConstructor
public class ViewerAuthServiceImpl implements ViewerAuthService {
    AuthService authService;
    @Override
    public String getUserId() {
        return authService.getUserId();
    }

    @Override
    public String getUserName() {
        return authService.getUserName();
    }
}
